package com.myz.app.mapper;

import com.myz.app.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author maoyz on 18-3-13.
 */
// @Mapper
public interface UserMapper {

    /**
     * 根据用户名查找用户
     * @param username
     * @return
     */
    List<User> getUserByName(String username);

    User getPasswordByName(String username);
}
